<html><head><title>CopyMemory</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">CopyMemory()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>CopyMemory</b></font>(*SourceMemoryID, *DestinationMemoryID, Length)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Copy a memory area starting from the *SourceMemoryID to the *DestinationMemoryID. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>*SourceMemoryID</i></td>
<td width="90%"> 
The address where the bytes are copied from. 

</td></tr>
<tr><td><i>*DestinationMemoryID</i></td>
<td> 
The address where the bytes are copied to. 

</td></tr>
<tr><td><i>Length</i></td>
<td> 
The amount of bytes to copy. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>Remarks</b></p><blockquote>

The source and destination buffers may not overlap. To copy memory to a destination 
address that overlaps with the source buffer, use <a href="movememory.html">MoveMemory()</a>. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="movememory.html">MoveMemory()</a>, <a href="copymemorystring.html">CopyMemoryString()</a>, <a href="allocatememory.html">AllocateMemory()</a>, <a href="memorysize.html">MemorySize()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=comparememorystring.html>CompareMemoryString()</a> - <a href=index.html>Memory Index</a> - <a href=copymemorystring.html>CopyMemoryString()</a> ->

</body></html>